package com.six666.medicaldevicetestingsystem.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.six666.medicaldevicetestingsystem.dto.Observe_2_DTO;
import com.six666.medicaldevicetestingsystem.dto.Observe_DTO;
import com.six666.medicaldevicetestingsystem.dto.Peopleexcel_DTO;
import com.six666.medicaldevicetestingsystem.entity.ProjectOfficers;


import java.util.Date;
import java.util.List;
import java.util.Map;

public interface ProjectOfficers_Service extends IService<ProjectOfficers>{
    int resempty(int project_id,int userid);

    int People(int project_id,int userid);

//    String task_1(int project_id);

    List<Observe_DTO> getObserve(int project_id, int userid);

    Date PeopleDate(int project_id,int userid);

    Boolean updateAssessmentPaper(int project_id,int userid,int assessment_id);

    Boolean updateAssessmentVideo(int project_id,int userid,int assessment_id);

    List<String> getPaper (int project_id);

    List<String> getTrainVideo (int project_id);

    List<ProjectOfficers> getauthorize(int project_id);

    ProjectOfficers gettask(int project_id,int userid);

    List<Map<String, String>> get_excel();

    boolean change(int project_id,int userid);

    boolean change_1(int project_id,int userid);

    boolean change_p_0(int project_id,int userid);
    boolean change_p_1(int project_id,int userid);
    boolean change_p_2(int project_id,int userid);
    boolean change_p_3(int project_id,int userid);

    boolean change_v_0(int project_id,int userid);
    boolean change_v_1(int project_id,int userid);
    boolean change_v_2(int project_id,int userid);
    boolean change_v_3(int project_id,int userid);

    boolean change_2(int project_id,int userid);
    String get_write_msg(int project_id,int userid);
    String get_video_msg(int project_id, int userid);

    List<Observe_2_DTO>get_observe_2(int user_id);
}